for loop with sequence in python